// 创建"外壳"组件App
import React, {Component} from "react"  // 分别引入，说明其中有分别暴露，不是结构赋值
import Hello from "./components/Hello/Hello"
import Welcome from "./components/Welcome"

/* class App extends React.Component {
  render() {
    return (
      <div>
        Hello,React!
      </div>
    )
  }
} */

/* class App extends Component {
  render() {
    return (
      <div>
        Hello,React!
      </div>
    )
  }
}

// 暴露App组件
export default App */


// 创建并暴露App组件
export default class App extends Component {
  render() {
    return (
      <div>
        <Hello/>
        <Welcome/>
      </div>
    )
  }
} 